package com.ym.manager.admin.complain;

import com.ym.manager.admin.complain.vo.ComplainListVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: dhf
 * @ClassName: ComplainDao
 * @Date: 2022/9/23 21:06
 * @Description:
 * @Version: 1.0
 */
@Repository
public interface ComplainDao {
    int getListCount(@Param("param") ComplainListVo complainListVo);

    List<Map<String, Object>> getList(@Param("param")ComplainListVo complainListVo);

    Long getObjid(@Param("id")long id);

    int updateStatus(@Param("id")long id, @Param("status")int status);

    int complainDel(@Param("id")long id);
}
